//
//  BaseViewController.m
//  ShouFaBao
//
//  Created by User on 14/12/9.
//  Copyright (c) 2014年 HeXieSoftWare. All rights reserved.
//

#import "BaseViewController.h"

@interface BaseViewController ()

@end

@implementation BaseViewController

- (void)viewDidAppear:(BOOL)animated
{
	[super viewDidAppear:animated];

}

- (void)viewDidLoad {
    [super viewDidLoad];
	// Do any additional setup after loading the view.
	self.edgesForExtendedLayout = UIRectEdgeNone;
	self.view.backgroundColor = [UIColor whiteColor];

	UILabel *lbTitle = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 100, 80)];
	lbTitle.textColor = [UIColor whiteColor];
	lbTitle.textAlignment = NSTextAlignmentCenter;
	lbTitle.text = self.mTitle;
	self.navigationItem.titleView = lbTitle;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
